<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<html>
<head>
<fmt:setBundle basename="ApplicationResources" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title><fmt:message key="title.modsch" /></title>
</head>
<body>
	<h2>
		<fmt:message key="title.modsch" />
	</h2>
	<form action="${pageContext.request.contextPath}/ScheduleController/submodsch"
		method=post>
		<center>
			<table class="framed">
				<tr>
					<th width="45%"><fmt:message key="label.schedule.radioprogram" /></th>
					<th width="55%"><fmt:message key="label.schedule.presenter" /></th>
                                        <th width="25%"><fmt:message key="label.schedule.producer" /></th>
				</tr>
			<!--	<tr>
					<td><fmt:message key="label.crudrp.name" /></td>
					<td><c:if test="${param['insert'] == 'true'}">
							<input type="text" name="newName" value="${param['modName']}" size=15
								maxlength=20>
							<input type="hidden" name="ins" value="true" />
						</c:if> 
						<c:if test="${param['insert']=='false'}">
							<input type="text" name="newName" value="${param['modName']}" size=15
								maxlength=20 readonly="readonly">
							<input type="hidden" name="ins" value="false" />
						</c:if></td>
				</tr>

				<tr>
					<td><fmt:message key="label.schedule.presenter" /></td>
					<td><input type="text" name="newPresenter"
						value="${param['modPresenter']}" size=45 maxlength=20></td>
				</tr>
				<tr>
					<td><fmt:message key="label.schedule.producer" /></td>
					<td><input type="text" name="newProducer"
						value="${param['modProducer']}" size=15 maxlength=20></td>
				</tr>   -->                                             
                                                    <tr>
                        <td><fmt:message key="label.crudrp.name" /></td>
                                         <td><select  name="newName" value="${param['modName']}">  
                                            <c:forEach items="${rpProgList}" var="file">  
                                              <option <c:if test="${file == param['modName'] }">selected</c:if>>${file}</option>  
                                            </c:forEach>  
                                           </select></td>
				</tr>
  <tr>
                     <td><fmt:message key="label.schedule.presenter" /></td> 
                        <td>
                            <select name="newPresenter" value="${param['modPresenter']}" style="width: 300px">  
                                <c:forEach items="${presenternameList}" var="presentername">  
                                    <option <c:if test="${presentername == param['modPresenter'] }">selected</c:if>>${presentername}</option>  
                                </c:forEach>  
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td><fmt:message key="label.schedule.producer" /></td> 
                        <td>
                            <select name="newProducer" value="${param['modProducer']}" style="width: 300px">  
                                <c:forEach items="${producernameList}" var="producername">  
                                    <option <c:if test="${producername == param['modProducer'] }">selected</c:if>>${producername}</option>  
                                </c:forEach>  
                            </select>
                        </td>
                    </tr>


				<tr>
					<td colspan="2" align="center"><input type="submit" value="Submit"> <input
						type="reset" value="Reset">

                                        </td>
				</tr>
			</table>
		</center>

	</form>
                                      

</body>
</html>